<h3>Login</h3> 

<%= form_for :user, :url => {:action => "login"} do |f| %>

  <label for="user_login">Login:</label><br/>
  <%= text_field "user", "login", :size => 20 %><br/>

  <label for="user_password">Password:</label><br/>
  <%= password_field "user", "password", :size => 20 %><br/>

<%= submit_tag "Submit" %>

    <%= link_to 'Register', signup_path %> |
    <%= link_to 'Forgot my password', :action => 'forgot_password' %>     

<% if flash[:warning] != nil %>
	<p><%= flash[:warning] %></p>
<% end %>	
	
<% end %>